package com.lbs.demo.services.MusicCrawler;

import com.lbs.demo.entities.SongsEntity;

import java.util.List;

public class test {
    public static void main(String[] args) {
        List<SongsEntity> list = QQMusicCrawler.getHotMusic();

//        Spider.create(new GithubRepoPageProcessor())
//                //从"https://github.com/code4craft"开始抓
//                .addUrl("https://github.com/code4craft")
//                //开启5个线程抓取
//                .thread(5)
//                //启动爬虫
//                .run();
    }
}
